package cn.xiaoliu.hrm.service;

import cn.xiaoliu.hrm.domain.Tenant;
import cn.xiaoliu.hrm.dto.LoginUserDto;
import cn.xiaoliu.hrm.query.TenantQuery;
import cn.xiaoliu.hrm.util.AjaxResult;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xiaoliu
 * @since 2021-12-15
 */
public interface ITenantService extends IService<Tenant> {
    /**
     * 高级查询和分页查询
     * @param query
     * @param page
     * @return
     */
    Page<Tenant> loadTenantList(TenantQuery query, Page<Tenant> page);

    AjaxResult entering(LoginUserDto dto);
}
